
package com.chen.qmzy.controller.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户更改
 */
@Data
public class UserUpdateForm implements Serializable {
    @ApiModelProperty(value = "用户id", position = 1, required = true)
    private Integer id;

    @ApiModelProperty(value = "用户名", position = 2)
    private String uname;

    @ApiModelProperty(value = "用户昵称", position = 3)
    private String nickname;

    @ApiModelProperty(value = "用户密码", position = 4)
    private String password;

    @ApiModelProperty(value = "性别",position = 5)
    private int gender;

    @ApiModelProperty(value = "邮箱",position = 6)
    private String email;

    @ApiModelProperty(value = "手机",position = 7)
    private String phone;

    @ApiModelProperty(value = "用户头像",position = 8)
    private String avatar;
}
